get index of element in map dart

99

myList.asMap().entries.map((entry) {
    int idx = entry.key;
    String val = entry.value;

    return something;
}

Comments

Submit
0 Comments